package com.sunsys.cxf.services;

import javax.jws.WebService;

/*
 * The @WebService annotation on the implementation class lets CXF know which interface we want to create our WSDL with. 
 * In this case its simply our HelloWorld interface.
 */


@WebService(endpointInterface = "com.sunsys.cxf.services.HelloWorld", serviceName = "HelloWorld")
public class HelloWorldImpl implements HelloWorld {
  
	@Override
	public String sayHi(String message) {
        System.out.println("sayHi called");
        return "echo message from server:" + message;
    }

   
}